/**
 * @author MIAO
 * Created on 2011-11-5
 * For more information, please visit:ismiao.com
 */
package com.ismiao.spring.aopExample;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestAopEmpServiceImpl {
	@Test
	public void test() {
//		ApplicationContext ac = new ClassPathXmlApplicationContext("classpath:aop*.xml");
		ApplicationContext ac = new ClassPathXmlApplicationContext(
				"com/ismiao/spring/aopExample/aop.example.beans.xml");
		
	EmpService empService = (EmpService) ac.getBean("proxyEmpService");

	empService.work("ss");

	}
}
